define(function(require, exports, module){
	var LoginView = require("../view/login");


	module.exports = Nuui.Controller.extend({
		actions: {
			"index": "toIndex"
		},
		toIndex: function() {
            App.header.reset({
                title: "登录",   //head title
                rightButtonContent: "@menu"  //右侧显示的元素
            });
            App.footer.reset(0);   // foot配置
            App.container.show(new LoginView());
        }
	});
})